﻿
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models
{
    /// <summary>
    /// Class BaseUserRole.
    /// </summary>
    [Description("用户角色")]
    public class BaseUserRole : BaseEntity<long>
    {
        /// <summary>
        /// Gets or sets the user_ identifier.
        /// </summary>
        /// <value>The user_ identifier.</value>
        public long BaseUser_Id { get; set; }

        /// <summary>
        /// Gets or sets the role_ identifier.
        /// </summary>
        /// <value>The role_ identifier.</value>
        public long BaseRole_Id { get; set; }


        /// <summary>
        /// Gets or sets the base user.
        /// </summary>
        /// <value>The base user.</value>
        public virtual BaseUser BaseUser { get; set; }

        /// <summary>
        /// Gets or sets the base role.
        /// </summary>
        /// <value>The base role.</value>
        public virtual BaseRole BaseRole { get; set; }

        
    }
}
